﻿@model PostComment

<div class='comment_container'>
	<div class='comment_header'>
		@Html.GravatarImage( Model.Email, Model.Author )
		<span class='comment_title'>@Model.Author</span> 
		<span class='comment_date'>@Model.DateTime</span>	
		@if (User.CanEditPost(Model.Post)) {     
			<span class='comment_admin'>	
			@if (Model.CommentStatus == CommentStatuses.Pending ) { 
			<a href="#" class="approveComment" id='@Model.PostCommentId'>@Strings.Approve</a>	
			} 
			<a href="#" class="deleteComment" id='@Model.PostCommentId'>@Strings.Delete</a>
			</span>
		 } 
	</div>
	<div class='comment_body'>@Model.Content</div>
</div>
